import axios from '@/libs/api.request'

export const save = (data) => {
  return axios.request({
    url: '/admin/student/register',
    data,
    method: 'post'
  })
}

export const password = (data) => {
  return axios.request({
    url: '/admin/student/password',
    data,
    method: 'post'
  })
}

export const selectOnlyOfCode = (data) => {
  return axios.request({
    url: 'admin/student/OnlyCode',
    data,
    method: 'post'
  })

}
